const Sms = () => import('@/views/Sms/index.vue')
const SmsCustomer = () => import('@/views/Sms/Customer/index.vue')
const SmsCustomerDetail = () => import('@/views/Sms/CustomerDetail/index.vue')
const SmsStaff = () => import('@/views/Sms/Staff/index.vue')

const routes = [
  {
    path: '/sms',
    name: 'sms',
    component: Sms,
    meta: { title: '人员管理', icon: 'UserFilled', orderNo: 70 },
    children: [
      {
        path: 'customer',
        name: 'smsCustomer',
        component: SmsCustomer,
        meta: {
          title: '客户列表',
          isMenu: true
        }
      },
      {
        path: 'customer/detail',
        name: 'smsCustomerDetail',
        component: SmsCustomerDetail,
        meta: {
          title: '客户详情',
          isMenu: false,
          menuTag: 'smsCustomer'
        }
      },
      {
        path: 'staff',
        name: 'smsStaff',
        component: SmsStaff,
        meta: { title: '用户列表' }
      }
    ]
  }
]

export default [] || routes
